/*全局配置*/
//网络请求
// import {post, get, put} from './utils/http'
import {HttpData} from './utils/http'
//全局样式
import './App.css';
//全局路由文件
export * from './router/config';
//接口api
export * from './utils/globalAPI'
/*全局网络请求*/
// global.$post=post;
// global.$get=get;
global.HttpData=HttpData;
//临时变量
/*
 routerType 值为 router文件下config.js  中 global.xxx
 例如  routerType:'AloneTable'  
    global.AloneTable 


*/
global.menus = [
	{
		title: 'AloneTable',
		icon: 'message',
		type:'menu1',
		routerType:'AloneTable',
		key: '/admin/AloneTable',
	},
	{
		title: '子菜单2',
		icon: 'laptop',
		type:'menu2',
		routerType:'HttpDemo',
		key: '/admin/HttpDemo',
	},
	{
		title: '表单',
		icon: 'laptop',
		type:'menu4',
		routerType:'FromDemo',
		key: '/admin/general/fromDemo',
	},
	{
		title: '弹出框',
		icon: 'bars',
		type:'menu5',
		routerType:'Alert',
		key: '/admin/AlertDemo',
	},
	{
		title: '表格',
		icon: 'desktop',
		type:'menu7',
		routerType:'Table',
		key: '/admin/TableDemo',
	},
	{
		title: '子菜单2-1',
		icon: 'message',
		type:'menu7',
		routerType:'TreeDemo',
		key: '/admin/TreeDemo',
	},

	// {
	// 	title: '其它',
	// 	icon: 'bulb',
	// 	key: '/page/Other',
	// 	subs: [
	// 		{key: '/page/AlertDemo', title: '弹出框', icon: ''},
	// 	]
	// },
]